home *** CD-ROM | disk | FTP | other *** search
- '------ VqString function declarations
-
- Declare Function VqVarLenStr Lib "vqstring.dll" (ByVal strng As String, ByVal Handle As Integer, ByVal Page As Long, ByVal Mode As Long) As Long
- Declare Function VqFixLenStr Lib "vqstring.dll" (ByVal strng As String, ByVal Handle As Integer, ByVal Page As Long, ByVal Mode As Long) As Long
-
- Declare Function GetFreeSpace Lib "Kernel" (ByVal wFlags%) As Long
- Declare Function GetWinFlags Lib "Kernel" () As Long
- Declare Function WinHelp Lib "User" (ByVal hWnd As Integer, ByVal lpHelpFile As String, ByVal wCommand As Integer, dwData As Any) As Integer
-
- '------ Constants for VqString calls
-
- Global Const VqVarGetSize = -1
- Global Const VqGetString = -2
- Global Const VqPutString = -3
- Global Const VqUbound = -4
- Global Const VqVarMemUsed = -5
- Global Const VqVarMemFree = -6
- Global Const VqEraseString = -7
-
- '------ VqString error codes
-
- Global Const IllegalFunctionCall = -5
- Global Const OutOfMemory = -7
- Global Const SubscriptOutOfRange = -9
- Global Const OutOfStringSpace = -14
-
- '------ Global error variable for VqStrings
- Global VqError As Integer
-
- '------ Misc constants for demo
-
- Global Const Default = 0
- Global Const FixedMode = 2
- Global Const HourGlass = 11
- Global Const ScrollBar = 2
- Global Const TextOne = 1
- Global Const TextTwo = 3
- Global Const VariableMode = 1
-
- Global BufSize As Long
- Global Elements As Long
- Global ForceDelete As Integer
- Global LastControl As Integer
- Global Mode As Integer
- Global SaveHScroll1Value As Integer
- Global SaveText1Text As String
- Global ScrollEvent As Integer
- Global Test As String
-
- Global Const True = -1
- Global Const False = 0
- Global Const IDOK = 1
- Global Const IDCANCEL = 2
- Global Const WF_ENHANCED = &H20
- Global Const HELP_CONTEXT = &H1
-
-